package com.cyj.service;

import com.cyj.entity.Anime;
import com.cyj.pojo.AnimeVo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface AnimeService {
    AnimeVo selectAnime(Map map);

    List<AnimeVo> selectAllAnimeList(Map map);

    PageInfo<AnimeVo> selectAnimeList(Map map, int pn, int pageSize);

    Anime selectAnimeBy(Map map);

    Integer updateAnime(Anime anime);

    Integer addAnime(Anime anime);
}
